#include <p32xxxx.h>
#include <plib.h>
#include "main.h"

int main()
{
	int i;
	mPORTDSetPinsDigitalOut(BIT_0);   /* Make RD0 (LED0) as output */
	mPORTDClearBits(BIT_0) ;      /* Turn off LED0 on startup */
	for (i=0; i<20; i++) {
		mPORTDToggleBits(BIT_0);     /* turn ON LED0 */
		mysleep(500);
	}
	//DBPUTS("Program terminated. Click HALT and then RESET to stop the microcontroller. \n");
	return 0;
}

